import service from "@/utils/request";

export function useGetDriverListApi(){
    return service.get("/slag-truck/fleet/select/driver")
}
export function useFleetInsertDriverApi(data: any){
    return service.post("/slag-truck/fleet/add/driver", data)
}
export function useFleetDelDriverApi(data: any){
    return service.delete("/slag-truck/fleet/del/driver", {
        data: data
    })
}
export function useGetFleetDriverApi(data: any){
    return service.get("/slag-truck/fleet/list", {
        params: data
    })
}
